<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<h1>
	<fmt:message key="evidenceRecord.detail.title" />
</h1>
<br>
<h3><fmt:message key="evidenceRecord.detail.timestamp.title" /></h3>
<table class="search">
	<tr>
		<td><fmt:message key="evidenceRecord.detail.timestamp.id" /></td>
		<td><c:out value="${evidenceRecord.timestamp.id}"></c:out> </td>
	</tr>	
	<tr>
		<td><fmt:message key="evidenceRecord.detail.timestamp.issuer" /></td>
		<td><c:out value="${evidenceRecord.timestamp.issuer}"></c:out> </td>
	</tr>
	<tr>
		<td><fmt:message key="evidenceRecord.detail.timestamp.validFrom" /></td>
		<td><c:out value="${evidenceRecord.timestamp.validFrom}"></c:out> </td>
	</tr>
		<tr>
		<td><fmt:message key="evidenceRecord.detail.timestamp.validTil" /></td>
		<td><c:out value="${evidenceRecord.timestamp.validTil}"></c:out> </td>
	</tr>
		<tr>
		<td><fmt:message key="evidenceRecord.detail.timestamp.genTimestamp" /></td>
		<td><c:out value="${evidenceRecord.timestamp.genTimestamp}"></c:out> </td>
	</tr>	
</table>
<br>
<h3><fmt:message key="evidenceRecord.detail.certificate.title" /></h3>
<table class="search">
	<tr>
		<th><fmt:message key="evidenceRecord.detail.certificate.id" /></th>
		<th><fmt:message key="evidenceRecord.detail.certificate.serialNumber" /></th>
		<th><fmt:message key="evidenceRecord.detail.certificate.valid_from" /></th>
		<th><fmt:message key="evidenceRecord.detail.certificate.valid_to" /></th>
	</tr>
	<c:forEach var="certificate" items="${evidenceRecord.certificates}" varStatus="status">
		<tr>
			<td>${certificate.cert_id}</td>
			<td>${certificate.serialNumber}</td>
			<td>${certificate.valid_from}</td>
			<td>${certificate.valid_to}</td>
		</tr>
	</c:forEach>
</table>
<br>
<h3><fmt:message key="evidenceRecord.detail.crl.title" /></h3>
<table class="search">
	<tr>
		<th><fmt:message key="evidenceRecord.detail.crl.id" /></th>
		<th><fmt:message key="evidenceRecord.detail.crl.crlserialNum" /></th>
		<th><fmt:message key="evidenceRecord.detail.crl.updateTime" /></th>
		<th><fmt:message key="evidenceRecord.detail.crl.downloadTime" /></th>
	</tr>
	<c:forEach var="crl" items="${evidenceRecord.crls}" varStatus="status">
		<tr>
			<td>${crl.crl_id}</td>
			<td>${crl.crlserialNum}</td>
			<td>${crl.updateTime}</td>
			<td>${crl.downloadTime}</td>
		</tr>
	</c:forEach>
</table>
<br>